(use test)

(define (square number) (* number number))

(define (sum_squares_of a b)
  (+ (square a)
     (square b))
  )

(define (sum_square_of_largers a b c)
  (cond
   ((and (< a b) (< a c)) (sum_squares_of b c))
   ((and (< b a) (< b c)) (sum_squares_of a c))
   (else (sum_squares_of a b))
   )
  )

  
(test 25 (square 5))
(test 25 (sum_squares_of 3 4))
(test 13 (sum_square_of_largers 1 2 3))
(test 13 (sum_square_of_largers 2 1 3))
(test 13 (sum_square_of_largers 2 3 1))